From: Florian Müllner Date: Sat, 21 Feb 2015 20:41:18 +0000 (+0100) Subject: Revert "messageTray: Special-case chat notifications to use the old actor" X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1455 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=54f46e84862c0f3f476fadcecc876c1640886b0e;p=gnome-shell.git Revert "messageTray: Special-case chat notifications to use the old actor" This was really just a temporary hack to buy us more time to properly port chat notifications to the new banners ... This reverts commit cd5318baa7699923f9757e25576c9fb4e3aef2ac. https://bugzilla.gnome.org/show_bug.cgi?id=746343 --- diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 1256a13a6..4d7d93518 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -1939,11 +1939,7 @@ const MessageTray = new Lang.Class({ this.idleMonitor.add_user_active_watch(Lang.bind(this, this._onIdleMonitorBecameActive)); } - // HACK: didn't manage to get chat into a proper state in time - if (this._notification.source.isChat) - this._banner = this._notification; - else - this._banner = this._notification.createBanner(); + this._banner = this._notification.createBanner(); this._bannerClickedId = this._banner.connect('done-displaying', Lang.bind(this, this._escapeTray)); this._bannerUnfocusedId = this._banner.connect('unfocused', Lang.bind(this, function() {